package club.ljwang.dao;

import club.ljwang.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Auther: wangl
 * @Date: 2020/2/29 20:10
 * @Description:
 */
public interface OrderSettingMapper {

    Integer findNumberByDate(@Param("orderDate") Date orderDate);

    void setNumberByDate(OrderSetting orderSetting);

    void addNumberByDate(OrderSetting orderSetting);

    List<OrderSetting> findByDate(@Param("start")String start, @Param("end")String end);

    OrderSetting findOneByDate(Date orderDate);
}
